package cn.picclife.mwx.manager.sys.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.picclife.mwx.common.core.dao.MyBatisRepositoryAnnotation;
import cn.picclife.mwx.manager.sys.model.bo.DataCollectBo;
import cn.picclife.mwx.manager.sys.model.bo.PageCount;
import cn.picclife.mwx.manager.sys.model.po.DataCollect;
import cn.picclife.mwx.manager.sys.model.po.DataCollectUser;
import cn.picclife.mwx.manager.sys.model.po.SysMaintain;
import cn.picclife.mwx.manager.sys.model.po.SysmaintainVersion;

@MyBatisRepositoryAnnotation
public interface QualityDataMapper {

	public int queryCount(Map<String, Object> paramMap);
	
	public List<DataCollect> queryAccountCount(Map<String, Object> paramMap);

	public List<DataCollect> queryDataPage(PageCount pageCount);
	
	public List<SysMaintain> querySysMaintain(SysMaintain maintain);

	public List<DataCollect> queryData(DataCollect bo);

	public List<DataCollectUser> queryDataCollectUser(String datacollectId);

	public int saveDataCollectUser(DataCollectUser dataUser);

	public DataCollect queryDataById(@Param("id") String id);

	public int updateDataById(DataCollect bo);

	public int queryBySysCodeVersion(Map<String, String> strMap);

	public void saveSysMaintainVersion(SysmaintainVersion version);
	
	List<DataCollect> queryAccountByCode(PageCount pageCount);
	
	List<DataCollect> queryAccountByRecordFinishTime(DataCollectBo bo);
	
	List<DataCollect> queryAccountByUploadTime(DataCollectBo bo);
	
}
